# -*- coding:utf-8 -*-
name = "jiguo li"
age = 21
height = 175
weight = 65
eye = "brown"
hair = "black"
teeth = "white"

print "Let's talk about %s" % name
print "He is %d cm tall" % height
print "He is %d kg heavy" % weight
print "He is got %s eyes and %s hair" % (eye, hair)
print "His teeth are %s" % teeth

print "I add %d, %d, and I get %d" % (age, height,age + height)

#精度和占位符宽度
print "%f, %5f, %.4f, %-10.6f, %10.6f" %(1/3.0, 1/3.0, 1/3.0, 1/3.0, 1/3.0)
print "{0} is a {1}".format("dog","pat")